space-largea{
    text-decoration: none;
}
body , html{
    background-color: #eee;
}

// 头部
.h-above{
    height: 90px;
    position: relative;
    #above-btn{
        width: 20px;
        height: 20px;
        border-radius: 20px;
        border: 0;
        background-color: #aaa;
        color: white;
        text-align: center;
        position: absolute;
        top: 20px;
        right: 19%;
        cursor: pointer;
    }
}
.h-above img{//**********
    width: 100%;
    display: block;
}

header{
    background-color: black;
    // min-width: 1200px;
    height: 36px;
    line-height: 36px;
}
.span-jiantou{
    width: 0;
    height: 0;
    display: inline-block;
    border-top: 10px solid gray;
}



.h-header-left{
    float: left;
    font-size: 14px;
    list-style: none;
    color: gray;
    margin: 0;
    li{
        float: left;
        padding: 0 8px;
        &:hover{
            color: white;
            cursor: pointer;
        }
    }
}

.h-header-right{
    @extend .h-header-left;
    float: right;
    li{
        float: left;
        #login{
            width: 30px;
            white-space:nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
    }
    a{
        color: gray;
        text-decoration: none;
        &:visited{
            color: gray;
            text-decoration: none;
        }
        &:hover{
            color: white;
            text-decoration: none;
        }
    }
    .gray:hover{
        background-color: white;
        color: #CF0A2C;
    }
    #cart{
        background-color: #aaa;
    }
}

.top-list{
    background-color: #eee;
    color: black;
    position: absolute;
    top: 36px;
    font-size: 12px;
    z-index: 11;
    // display: none;
    dt{
        padding: 5px 15px;
        width: 60px;
        height: 30px;
        &:hover{
            color: #CF0A2C;
        }
    }
}
.phone-right{
    float: right;
    padding: 15px;
    h4{
        margin: 0;
        padding: 0;
    }
    p{
        margin: 0;
        padding: 0;
        color: #CF0A2C;
        line-height: 12px;
    }
}
.phone1{
    width: 230px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}
#server-list{
    display: none;
    box-shadow: 0 0 5px #aaa;
    right: 187px;
}
#phone-list{
    padding: 15px;
    right: 60px;
    box-shadow: 0 0 5px #aaa;
    display: none;
    img{
        float: left;
        width: 90px;
        height: 90px;
    }
}
#cart-list{
    right: 0px;
    width: 500px;
    height: 170px;
    background-color: white;
    text-align: center;
    padding-top: 60px;
    box-shadow: 0 0 5px #aaa;
    display: none;
    z-index: 20;
    img{
        width: 80px;
        height: 80px;
    }
}


nav{
    background-color: white;
    height: 74px;
    position: sticky;
    top: 0;
    z-index: 10;
    .h-nav-left{
        padding-top: 17px;
        float: left;
        img{
            line-height: 74px;
            height: 34px;
        }
    } 
    .h-nav-middle{ 
        float: left;
        padding-top: 7px;
        ul{
            list-style: none;
            li{
                float: left;
                padding: 0 20px;
                &:hover{
                    color: red;
                    cursor: pointer; 
                }
            }
        }
    }
    .h-nav-right{
        float: right;
        margin-top: 23px;
        position: relative;
        img{
            width: 26px;
            height: 26px;
            cursor: pointer;
        }
        .search{
            position: absolute;
            top: 0;
            // right: 900px;
            right: 300px;
            opacity: 0;
            display: none;   
            img{
                top: 8px;
                left: 12px;
                width: 16px;
                height: 16px;
                position: absolute;
                cursor: pointer;
                z-index: 4;
            }
            #search-inp{
                position: absolute;
                width: 600px;
                height: 26px;
                padding-left: 40px;
                border-radius: 70px;
                border: 1px solid #ddd;
                background-color: #eee;
                outline: none;
                
            }
            button{
                position: absolute;
                top: 3px;
                left: 610px;
                z-index: 4;
                border: none;
                background-color: rgba($color: #000000, $alpha: 0);
                font-size: 18px;
                color: gray;
                cursor: pointer;
                &:hover{
                    font-weight: 700;
                }
            }
        }
    }
}


// 轮播图
.swiper{
    position: relative;
    .vague{
        opacity: 0;
        cursor: pointer;
        position: absolute;
        top: 0;
        z-index: 12;
        border-radius: 0 0 15px 15px;
        padding: 0 20px;
        background-color: white;
        width: 700px;
        min-height: 160px;
        left: calc( 50% - 350px );
        display: none;
        box-shadow: 0 0 5px #ccc;
        li{
            font-size: 12px;
            color: gray;
            height: 40px;
            line-height: 40px;
            list-style: none;
            // border-bottom: 1px solid #ddd;
        }
        h5{
            font-weight: 400;
            font-size: 16px;
        }
        .search-select{
            font-size: 12px;
            div{
                float: left;
                height: 15px;
                cursor: pointer;
                min-width: 25px;
                padding: 4px 8px;
                border-radius: 15px;
                background-color: #eee;
                margin-right: 15px;
                margin-bottom: 10px;
            }
        }
    }
}
.container1 {
    width: 100%;
    height: 550px;
    margin: 0 auto;
    box-shadow: 0 0 5xpx #ddd;
    img{
        cursor: pointer;
    }
}
.container2 {
    width: 100%;
    height: 120px;
    margin: 0 auto;
    box-shadow: 0 0 5xpx #ddd;
}

.container1 .swiper-slide {
    font-size: 100px;
    color: white;
    line-height: 286px;
    text-align: center;
    background-color: chocolate;
}
.container2 .swiper-slide {
    font-size: 100px;
    color: white;
    // line-height:     286px;
    text-align: center;
    background-color: chocolate;
}
#swiper-pagination{ 
    margin: 0 auto;
}
.swiper-container{
    --swiper-theme-color: white;/* 设置Swiper风格 */
    --swiper-theme-opacity: 1;
    --swiper-navigation-color: white;/* 单独设置按钮颜色 */
    --swiper-navigation-size: 15px;/* 设置按钮大小 */
}

.container1 .swiper-button-prev{
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: gray;
    opacity: 0.5;
    position: absolute;
    left: 0;
    top: -270px;
    left: 20%;
}
.container1 .swiper-button-prev:hover{
    opacity: 0.7;
}
.container1 .swiper-button-next:hover{
    opacity: 0.7;
}
.container1 .swiper-button-next{
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: gray;
    opacity: 0.5;
    position: absolute;
    right: 0;
    top: -270px;
}
.container1 .swiper-pagination{
    position: absolute;
    top: -50px;
    left: 50% ;
    span{
        margin: 0 6px;
    }
}
.container2 .swiper-pagination{
    position: absolute;
    top: -25px;
    left: calc(50% - 70px) ;
    span{
        margin: 0 6px;
    }
}

// 类品展示
.selector{
    position: absolute;
    width: 1200px;
    // height: 400px; 
    z-index: 9;
    top: 0; 
    left: calc(50% - 600px);
}
.swiper-selector{
    width: 200px;
    background-color: #eeeeee;
    position: absolute;
    top: 30px;
    padding:  0;
    left: 1%;
    font-size: 14px;
    z-index: 15;
    ul{
        padding: 0;
        li{
            z-index: 15;
            list-style: none;
            padding: 11px 15px 10px 25px;
            span{
                float: right;
            }
            &:hover{
                background-color: white;
            }
        }
    }
}

.box-fix{
    width: auto;
    position: absolute;
    top: 0;
    left: 195px;
    height: 508px;
    display: grid;
    grid-template-columns: 250px ;
    grid-template-rows:100px 100px 100px 100px  100px;
    grid-auto-flow: column;
    box-shadow: 0 0 5px #ddd;
    // flex-direction: row;
    // flex-wrap: wrap;
    background-color: white;
    display: none;
    .box{
        margin-left: 30px;
        width: 250px;
        cursor: pointer;
        height: 100px;
        .swiper-img{
            margin: 20px 0;
            width: 70px;
            float: left;
        }
        div{
            margin: 40px 0 ;
            float: left;
        }
        &:hover{
            color: #CF0A2C;
        }
    }
}
.more{
    margin-left: 35px;
    width: 150px;
    height: 50px;
    border-radius: 50px;
    border: 1px solid #dddddd;
    text-align: center;
    line-height: 50px;
    a{
        color: black;
    }
}

// 企业购
.company{
    float: left;
    text-align: center;
    font-size: 12px;
    margin: 16px 49px;
    cursor: pointer;
    
    div{
        padding: 2px 15px;
    }
    
    img{
        width: 48px;
        height: 48px;
        padding: 10px 0 ;
    }
    &:hover{
        opacity: 0.8;
    }
    
}

// activity top4
#activity-render{

    .activity{
        float: left;
        margin: 0 4px;
        cursor: pointer;
        &:hover{
            box-shadow: 0px 0px 25px #ccc
        }
    }

    img{
        width: 291px;
        height: 194px;
    }
    
}

// 爆款推荐
.title{
    line-height: 80px;
    font-size: 24px;
    display: block;
    margin-left: 6px;

}
.p-more{
    font-size: 14px;
    float: right;
    margin-right: 10px;
    color: gray;
    a{
        color: black;
        text-decoration: none;
        &:visited{
            color: black;
            text-decoration: none;
        }
    }
}
.hot-render{
    width: 100%;
}
.hot-img-big{
    margin: 0 4px;
    float: left;
    cursor: pointer;
    img{
        width: 472px;
        height: 306px;
    }
    &:hover{
        box-shadow: 0px 0px 25px #ccc
    }
}
.hot{
    float: left;
    width: 232px;
    height: 306px;
    text-align: center;
    margin: 0 4px;
    margin-bottom: 10px;
    background-color: white;
    cursor: pointer;
    .hot-img{
        width: 142px;
        padding: 25px;
    }
    .hot-title{
        line-height: 25px;
        margin: 0;
        margin-top: 25px;
        width: 80%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0 auto;
    }
    .hot-tip{
        font-size: 12px;
        height: 25px;
        margin: 0;
        color: gray;
        line-height: 25px;
    }
    .hot-price{
        font-weight: 400;
        color: #CF0A2C;
        margin-top: 5px;
    }
    &:hover{
        box-shadow: 0px 0px 25px #ccc
    }
}

// 商品列表
.space{
    float: left;
    margin-right: 40px;
    font-size: 20px;
    color: gray;
    .space-large{
        font-size: 24px;
        color: black;
        &:hover{
            color: black;
        }
    }
    div{
        cursor: pointer;
        &:hover{
            color: #CF0A2C
            ;
        }
    }
}
.list{
    float: left;
    width: 24%;
    height: 390px;
    margin: 0 6px;
    background-color: white;
    margin-bottom: 12px;
    text-align: center;
    .list-img{
        width: 70%;
        margin: 30px;
    }
    .list-title{
        width: 80%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0 auto;
    }
    .list-tip{
        font-size: 14px;
        height: 35px;
        margin: 0;
        color: gray;
        line-height: 35px;
    }
    .list-price{
        font-weight: 400;
        color: #CF0A2C;
        margin-top: 15px;
    }
    &:hover{
        box-shadow: 0px 0px 25px #ccc
    }
}
#wine-render{
    margin-bottom: 50px;
}

// footer top
footer{
    background-color: white;
}
#footer-top-render{
    border-bottom: 1px solid #eee;
}
.footer-top-float{
    float: left;
    width: 230px;
    margin: 25px 0;
    margin-left: 60px;
    .footer-top-title{
        // margin: 0 auto;
        cursor: pointer;
        img{
            float: left;
            margin-top: 17px;
            margin-right: 10px;
        }
        p{
            float: left;
        }
    }
    
}

.footer-middle{
    padding-bottom: 50px;
    border-bottom: 1px solid #ddd;
    overflow: hidden;
}
#footer-middle-left-render{
    float: left;
    margin-top: 32px;
    border-right: 1px solid #eee;
    width: auto;
    .task{
        float: left;
        font-size: 12px;
        color: #aaa;
        margin-right: 70px;
        .task-title{
            font-size: 14px;
            color: black;
            height: 48px;
            
        }
        li{
            list-style: none;
            padding: 5px 0;
            cursor: pointer;
            &:hover{
                color: #CF0A2C;
            }
        }
    }
}
#footer-middle-right{
    float: right;
    padding-top: 40px;
    margin-right: 50px;
    position: relative;
    text-align: center;
    width: 250px;
    
    h3{
        font-weight: 400;
        font-size: 26px;
        margin: 5px 0;
    }
    p{
        font-size: 14px;
        margin: 0;
    }
    ul{
        display: inline-block;
        text-align: center;
        width: 120px;
        height: 35px;
        border-radius: 25px;
        background-color: black;
        color: white;
        line-height: 35px;
        padding: 0;
        font-size: 12px;
        cursor: pointer;
        &:hover{
            opacity: 0.7;
        }
    }
    b{
        font-weight: 400;
        font-size: 14px;
    }
}

.footer-bottom{
    position: relative;
    padding-top: 30px;
    color: gray;
    line-height: 20px;
    height: 200px;
    // overflow: hidden;
    .float{
        float: left;
        height: 200px;
        img:hover{
            cursor: pointer;
        }
    }
    .vmall{
        height: 20px;
        margin-right:40px;
    }
}
.group{
    display: block;
    font-size: 12px;
    width: 80%;
    div{
        float: left;
        cursor: pointer;
        &:hover{
            color: #CF0A2C;
        }

    }
    span{
        text-align: center;
        width: 10px;
        float: left;
        font-size: 10px;
    }
    dt{
        float: left;
        cursor: pointer;
        &:hover{
            color: #CF0A2C;
        }
    }
}
.police{
    position: absolute;
    top: 30px;
    right: 40px;
    img:hover{
        cursor: pointer;
    }
}



aside{
    position: fixed;
    bottom: 20px;
    right: 10px;
    background-color: white;
    padding: 20px 10px 0 10px;
    border-radius: 10px;
    cursor: pointer;
    // opacity: 0;
    display: none;
    z-index: 15;
    .aside{
        font-size: 14px;
        text-align: center;
        width: 80px;
        height: 60px;
        margin-bottom: 10px;
        img{
            width: 24px;
            height: 24px;
        }
    }
}